package SL.bdqn.Test;

import SL.bdqn.mapper.HelloSpring;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class helloSpring {
    public static void main(String[] args) {
        ApplicationContext context = new ClassPathXmlApplicationContext("mybatis-config.xml");

        HelloSpring helloSpring = (HelloSpring) context.getBean("HelloSpring");

        helloSpring.print();
    }
}
